import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { AppConfig } from '@/config/app'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import "assembly-css/lib/index.scss";

/** 将全局静态配置注入到应用中,可以通过 this.a读取,比 provide 和 inject 手动注入更方便  */
const app: ReturnType<typeof createApp> = createApp(App);
app.config.globalProperties = AppConfig;

app
  .use(store)
  .use(router)
  .use(Antd)
  .mount('#app');
